<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/css/css.css" type="text/css" rel="stylesheet" />
<title>用户管理</title>
	<script src="/encrypt/aes.js"></script>
    <script src="/encrypt/pad-zeropadding.js"></script>
    <script src="/encrypt/md5.js"></script>
    <script src="/js/jquery-1.10.2.min.js"></script>
    <script src="/js/jquery.cookie.js"></script>
    <script src="/signin/global_param.js"></script>
    <script src="/signin/user_manager.js"></script>
</head>

<body>
    <iframe src="top.html" scrolling="no" frameborder="0"></iframe>
    <div class="sz_box">
      <div class="sz_content">
      	<div class="user_operate_div" >
			<a href="javascript:user_manager.select()" class="user_operate" >查看用户列表</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="javascript:user_manager.addshow()" class="user_operate" >添加用户</a>
		 </div>
		<!------添加------->
        <div id="add_user" class="sz_retrieve">
          <div class="sz_retrieve_top">
             <h1>添加用户</h1>
             <div>
                 <h2></h2>
                 <div class="sz_retrieve_top_block">
                     <p><span>用&nbsp;户&nbsp;名</span><input  id="uname" type="text" />&nbsp;&nbsp; 2位或2位以上的字母和数字</p>
                     <p><span>密&nbsp&nbsp;码</span><input id="passwd" type="password" />&nbsp;&nbsp; 6位或6位以上的字母和数字</p>
                     <p><span>确认密码</span><input id="con_passwd" type="password" />&nbsp;&nbsp;</p>
                     <p><span>部&nbsp;&nbsp;门</span><input id="depart" type="text" value="" />&nbsp;&nbsp;所属部门</p>
                     <p><span>电&nbsp;&nbsp;话</span><input id="phone" type="text" value="" />&nbsp;&nbsp;电话(建议填写手机号)</p>
					 <p><span>备&nbsp;&nbsp;注</span><textarea id="desc" rows="5" cols="22"></textarea> &nbsp;&nbsp;信息备注</p>
					 <p><span>权限</span></p>
					 <div class="auth_list_style" id="auth_list" > </div>
                     <p><a href="javascript:user_manager.add()">提交</a></p>
                 </div>
             </div>
          </div>
        </div>
        <!------添加------->
        <!------修改------->
        <div id="update_user" style="display:none" class="sz_retrieve">
          <div class="sz_retrieve_top" >
             <h1>修改用户</h1>
             <div>
                 <h2></h2>
                 <div class="sz_retrieve_top_block">
                     <p><span>用&nbsp;户&nbsp;名</span><input  id="update_uname" type="text" />&nbsp;&nbsp; 2位或2位以上的字母和数字</p>
                     <p><span>密&nbsp;&nbsp;码</span><input id="update_passwd" type="password" />&nbsp;&nbsp; 6位或6位以上的字母和数字</p>
                     <p><span>确认密码</span><input id="update_con_passwd" type="password" />&nbsp;&nbsp;</p>
                     <p><span>部&nbsp;&nbsp;门</span><input id="update_depart" type="text" value="" />&nbsp;&nbsp;</p>
					 <p><span>电&nbsp;&nbsp;话</span><input id="update_phone" type="text" value="" />&nbsp;&nbsp;</p>
					 <p><span>备&nbsp;&nbsp;注</span><textarea id="update_desc" rows="5" cols="22"></textarea> &nbsp;&nbsp;信息备注</p>
					 <p><span>权限</span></p>
					 <div class="auth_list_style" id="auth_list_update" > </div>
					 <p><span></span><input id="update_uid" type="hidden"  /></p>
					 <p><span></span><input id="old_uname" type="hidden"  /></p>
                     <p><a href="javascript:user_manager.update()">修改</a></p>
                 </div>
             </div>
          </div>
        </div>
        <!------修改------->
        <!------查看列表------->
        <div class="sz_nr" id="select_user" style="display:none" >
                   <div class="sz_nr_top">用户列表 <span id="total"></span></div>             
                   <table id="user_table" width="100%"  border="0" cellpadding="3" cellspacing="1">
                   </table>
        </div>
        <!------查看列表------->
      </div>  
    </div>
    <iframe src="footer.html" class="footer_con_ye" scrolling="no" frameborder="0"></iframe>
</body>
</html>